<template>
  <div>
    <h1>index</h1>
    <h1>欢迎您:{{username}}</h1>
  </div>
</template>

<script>
  export default {
    name: "Index",
    data() {
      return {
        username: this.$store.getters.getUser.name
      }
    }
  }
</script>

<style scoped>

</style>
